#tools
CXX		= g++43
CXXFLAGS	= -O2 -I../include
NVCC		= nvcc -ccbin=/usr/bin/g++43 $(CXXFLAGS) -Xcompiler -Wall  -Xcompiler -Wconversion -DDEBUG -keep -use_fast_math
LIBS		= -lfftw3f -lcufft

%: src/%.cu must_build
	$(NVCC) $< -o bin/$@ $(LIBS)

%: src/%.cc must_build
	$(CXX)  $< -o bin/$@ $(LIBS)

clean:
	rm  $(OBJS)

must_build:

.PHONY: clean must_build